<?php
session_start();

require( INC . 'core.php' );
require( INC . 'functions.php' );

// Set all DSFM variables
dsfm_set_vars();

// Include the db class and, if present, a db.php database drop-in.
dsfm_load_db();

// Include the templete class and, if present, a SiXhEaD.Template.php.
dsfm_load_templete();

// Load all DSFM module
dsfm_load_all_module();
// Simple browser detection
//dsfm_browser_detection();

// Load most of modules

require( LIB . 'files.class.php');
require( LIB . 'data.class.php');
require( LIB . 'image.class.php');
?>